package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@ResponseBody
public class test {
    @RequestMapping("/t1")
    public String test(){
        return "hello1";
    }
    @RequestMapping("/t2")
    public String test2(){
        return "实验1";
    }
    @RequestMapping("/t3")
    public String test3(){
        return "实验1测试";
    }
}